package entity;

/**
 * 用户信息实体 user_info
 *
 * @author bing.zhang06@hand-china.com 2021/7/24 11:17
 **/
public class UserInfo {
    private Long id;
    private String name;
    private String password;
    private String hobby;
    private String email;

    public UserInfo() {
    }

    public UserInfo(String name, String password, String hobby, String email) {
        this.name = name;
        this.password = password;
        this.hobby = hobby;
        this.email = email;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", hobby='" + hobby + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}
